/**
 * 选人控件图标
*/
const seletOrgIconFont = [
	// 顶部单位
	'cap-icon-switch-units',
	// 右侧移动
	'cap-icon-arrow-topping-serif',
	'cap-icon-arrow-bottom-setting-serif',
	'cap-icon-arrow-up-serif',
	'cap-icon-arrow-down-serif',
	// 树展开icon
	'cap-icon-arrow-down',
	// 单位
	'cap-icon-alternative-company',
	// 部门
	'cap-icon-alternative-department',
	// 关闭
	'cap-icon-guanbi',
	// 删除
	'cap-icon-shanchu-X',
	// 左侧icon
	// 组
	'cap-icon-alternative-group',
	// 编外人员、部门、外部单位、外部机构
	'cap-icon-alternative-external-un',
	// 岗位、职务级别、表单控件、相对角色、角色
	'cap-icon-alternative-post',
	// 超级节点
	'cap-icon-alternative-supernode',
	// 默认
	'cap-icon-alternative-default',

	// 右侧已选
	// 单位
	'cap-icon-selected-company',
	// 部门
	'cap-icon-selected-department',
	// 超级节点
	'cap-icon-selected-supernode',
	// 外部单位
	'cap-icon-selected-external-unit',
	// 组
	'cap-icon-selected-group',
	// 岗位
	'cap-icon-selected-post',
	// 缺省
	'cap-icon-selected-default',

	// 搜索
	'cap-icon-search-large',

	// 中间栏
	// 上
	'cap-icon-middle-column-up',
	// 下
	'cap-icon-middle-column-down'

];

/**
 * a-ztree树中icon必须使用svg path模式，若使用 use 模式在IE下有性能问题
 */
const seletOrgIconPath = {
	'cap-icon-alternative-company': `<svg viewBox="0 0 1024 1024">
										<path d="M868.144 284.8c28.16 0 50.928 16.16 57.632 40.976 1.76 5.28 2.224 11.36 2.224 16.992V792.48c0 33.616-25.008 74.704-59.392 74.704H155.84C121.456 867.2 96 826.112 96 792.144V284.8h772.144z" fill="#FFA6A7" p- id="36488">
										</path>
										<path d="M512 284.8c0-68.544-51.472-124.8-115.408-124.8H155.504C120.864 160 96 186.688 96 223.792v60.512" fill="#FF4D4F" p-id="36489">
										</path>
										<path d="M558.448 755.392V638.72a14.864 14.864 0 0 0-14.864-14.848H481.44a14.864 14.864 0 0 0-14.864 14.848v116.688H421.92c-24.544 0-46.56-20-49.6-45.008l-11.536-149.024-34.512 32.208c-14.544 10.032-29.248-7.92-18.56-19.248l170.608-176.608a44.544 44.544 0 0 1 64.016-0.384l174.24 176.448c4.64 8.768 4.64 15.728 0 20.864-4.64 5.136-11.008 5.136-19.072 0l-30.672-33.28-18.08 149.008c-3.04 25.024-25.088 45.024-49.6 45.024h-40.688z" fill="#FFFFFF" p-id="36490">
										</path>
									</svg>`,
	'cap-icon-alternative-department': `<svg viewBox="0 0 1024 1024"><path d="M868.144 284.8c28.16 0 50.928 16.16 57.632 40.976 1.76 5.28 2.224 11.36 2.224 16.992V792.48c0 33.616-25.008 74.704-59.392 74.704H155.84C121.456 867.2 96 826.112 96 792.144V284.8h772.144z" fill="#7FBBFF" p-id="36620">
										</path>
										<path d="M528.64 284.8c0-68.544-53.52-124.8-120.032-124.8H157.888C121.856 160 96 186.688 96 223.792v60.512" fill="#0077FF" p-id="36621">
										</path>
										<path d="M650.688 662.32c-18.752-16.848-67.072-22.464-76.448-25.168-9.376-2.704-12.08-7.904-13.648-10.816-1.568-2.912-0.208-6.336-0.32-9.68-0.096-3.312 0.432-13.616 0.432-13.616 14.88-13.52 22.08-31.312 22.08-31.312 20.32-11.328 19.584-19.648 20.416-28.384 0.832-8.736-0.64-21.12-3.344-27.152-2.704-6.032-7.904-8.944-7.904-8.944s0.32-1.968 0.624-8.528c0.32-6.544 0-16.112-0.944-33.376s-5.424-28.496-15.2-35.04c-9.792-6.56-28.64-4.688-28.64-4.688-8.448-9.152-14.176-12.896-17.712-14.464-3.552-1.552-9.696-1.552-9.696-1.552l-22.496 4.88c-7.92-0.512-15.52 5.152-15.52 5.152-2.4-0.48-19.904-0.992-31.152 8.16-16.448 12.896-18.528 37.136-18.96 42.752-0.416 5.616 0 36.288 0 36.288-8.432 4.8-10.096 13.936-10.624 18.416-0.512 4.48-0.512 17.472 1.888 29.952s16.144 17.888 16.144 17.888c6.88 16.016 24.576 29.952 24.576 29.952s0.32 12.16 0.528 17.888c0.208 5.712-0.112 7.488-7.2 12.16-7.072 4.688-21.872 7.28-31.136 8.736-9.28 1.456-20.832 3.536-30.72 7.28a90.304 90.304 0 0 0-30.848 18.72c-11.248 10.192-13.008 16.64-15.104 22.992-1.808 5.488-3.216 25.216-3.552 30.368L345.6 742.4h332.8v-21.216c-4.672-39.744-9.152-42.208-27.712-58.864z" fill="#FFFFFF" p-id="36622">
										</path>
									</svg>`,
	'cap-icon-alternative-default': `<svg viewBox="0 0 1024 1024">
									<path d="M868.144 268.8c28.16 0 50.928 16.16 57.632 40.976 1.76 5.28 2.224 11.36 2.224 16.992V776.48c0 33.616-25.008 74.704-59.392 74.704H155.84C121.456 851.2 96 810.112 96 776.144V268.8h772.144z" fill="#7FBBFF" p-id="36752"></path><path d="M528.64 268.8c0-68.544-53.52-124.8-120.032-124.8H157.888C121.856 144 96 170.688 96 207.792v60.512" fill="#0077FF" p-id="36753">
									</path>
									</svg>`,
	'cap-icon-alternative-external-un': `<svg viewBox="0 0 1024 1024">
										<path d="M868.144 284.8c28.16 0 50.928 16.16 57.632 40.976 1.76 5.28 2.224 11.36 2.224 16.992V792.48c0 33.616-25.008 74.704-59.392 74.704H155.84C121.456 867.2 96 826.112 96 792.144V284.8h772.144z" fill="#FFCC7F" p-id="36883">
										</path>
										<path d="M528.64 284.8c0-68.544-53.52-124.8-120.032-124.8H157.888C121.856 160 96 186.688 96 223.792v60.512" fill="#FF9900" p-id="36884">
										</path>
										<path d="M650.688 662.32c-18.752-16.848-67.072-22.464-76.448-25.168-9.376-2.704-12.08-7.904-13.648-10.816-1.568-2.912-0.208-6.336-0.32-9.68-0.096-3.312 0.432-13.616 0.432-13.616 14.88-13.52 22.08-31.312 22.08-31.312 20.32-11.328 19.584-19.648 20.416-28.384 0.832-8.736-0.64-21.12-3.344-27.152-2.704-6.032-7.904-8.944-7.904-8.944s0.32-1.968 0.624-8.528c0.32-6.544 0-16.112-0.944-33.376s-5.424-28.496-15.2-35.04c-9.792-6.56-28.64-4.688-28.64-4.688-8.448-9.152-14.176-12.896-17.712-14.464-3.552-1.552-9.696-1.552-9.696-1.552l-22.496 4.88c-7.92-0.512-15.52 5.152-15.52 5.152-2.4-0.48-19.904-0.992-31.152 8.16-16.448 12.896-18.528 37.136-18.96 42.752-0.416 5.616 0 36.288 0 36.288-8.432 4.8-10.096 13.936-10.624 18.416-0.512 4.48-0.512 17.472 1.888 29.952s16.144 17.888 16.144 17.888c6.88 16.016 24.576 29.952 24.576 29.952s0.32 12.16 0.528 17.888c0.208 5.712-0.112 7.488-7.2 12.16-7.072 4.688-21.872 7.28-31.136 8.736-9.28 1.456-20.832 3.536-30.72 7.28a90.304 90.304 0 0 0-30.848 18.72c-11.248 10.192-13.008 16.64-15.104 22.992-1.808 5.488-3.216 25.216-3.552 30.368L345.6 742.4h332.8v-21.216c-4.672-39.744-9.152-42.208-27.712-58.864z" fill="#FFFFFF" p-id="36885">
										</path>
										</svg>`,
	'cap-icon-tree-member': `<svg viewBox="0 0 56 56">
								<title>编组</title>
								<g id="CAP图标库" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
									<g id="业务包图标" transform="translate(-2720.000000, -11734.000000)">
										<g id="编组" transform="translate(2720.000000, 11734.000000)">
											<circle id="椭圆形" fill="#7FBBFF" cx="28" cy="28" r="28"></circle>
											<path d="M28.65,17 C29.4,17 30.4,18.1 30.85,18.15 L31.55,18.15 C31.7,18.15 31.9,18.15 32.2,18.2 C33.45,18.45 33.35,20.2 33.4,20.8 C33.5,21.4 33.5,23.1 33.4,23.65 C33.3,24.05 33.45,24.1 33.55,24.1 L33.65,24.1 C34.45,24.1 34.2,26.5 34.2,26.5 C34.1,27.1 33.8,27.15 32.95,27.7 C32.436,29.1 31.4,30.02 31.264,30.138 C31.25,30.15 31.2,30.2 31.2,30.5 C31.2,30.6 30.15,32.4 33.45,32.9 C36.85,33.45 38,36 38.4,36.8 C38.85,37.6 39,40 39,40 L17,40 L17,39.882 C17.008,39.316 17.07,36.874 17.6,36.302 C18.25,35.65 18.9,33.402 22.3,32.902 C25.65,32.4 24.7,30.6 24.8,30.6 L24.8,30.048 C24.8,30.048 23.4,29.248 22.9,27.698 C21.8,27.198 21.95,26.948 21.85,26.348 C21.85,26.348 21.5,24.048 22.25,24.048 C22.25,24.048 22.65,24.048 22.55,23.498 C22.5,22.598 22.55,20.898 22.6,20.298 C22.7,19.698 23.1,18.048 24.35,17.798 C24.8,17.698 25.05,17.698 25.15,17.698 C25.3,17.698 25.3,17.748 25.4,17.748 L25.5,17.748 C25.9,17.698 25.8,17.348 26.55,17.348 L28.65,17 Z" id="形状" fill="#FFFFFF" fill-rule="nonzero"></path>
										</g>
									</g>
								</g>
							</svg>`,
	'cap-icon-tree-post': `<svg viewBox="0 0 1043 1024">
								<path d="M154.432 256h555.136C741.84 256 768 284.64 768 320v544c0 35.36-26.16 64-58.432 64H154.432C122.16 928 96 899.36 96 864V320c0-35.36 26.16-64 58.432-64z" fill="#7FBBFF" p-id="36233"></path><path d="M835.456 689.344V226.8a32 32 0 0 0-32-32H288v-42.88A55.936 55.936 0 0 1 343.936 96h531.36a55.936 55.936 0 0 1 55.936 55.936V675.36a55.936 55.936 0 0 1-55.936 55.936h-39.84v-41.952z" fill="#0077FF" p-id="36234"></path>
								<path d="M534.528 728.56v19.84H224v-19.824c0-4.256 1.472-18.432 4.4-24.096 1.44-5.664 4.4-12.752 14.64-22.672 10.256-8.496 19.04-14.16 27.84-17.008 8.768-2.832 20.496-7.088 29.28-8.496 8.8-1.408 21.984-4.256 29.312-8.496 7.328-4.256 7.328-5.664 7.328-11.36v-15.568s-16.128-12.752-23.456-26.912c0 0-13.168-4.256-14.64-15.584-2.928-11.328-2.928-22.688-1.456-26.928 0-4.24 1.44-12.768 10.24-16.992v-32.608c0-5.648 2.928-26.928 17.6-38.24 10.24-8.512 26.336-8.512 29.28-7.104 0 0 7.328-5.664 14.656-4.24l20.48-4.272s5.856 0 8.8 1.408c2.928 1.44 8.784 4.256 16.112 12.768 0 0 17.568-1.424 26.368 4.24 8.784 5.68 13.168 15.584 14.624 31.184 1.488 15.584 1.488 24.096 1.488 29.76v7.088s4.384 2.816 7.312 8.496c2.928 5.664 4.4 17.008 2.928 24.096-1.44 8.496 0 15.568-19.04 25.504 0 0-7.312 15.568-20.48 28.32v12.768c0 2.832-1.504 5.664 0 8.512 1.44 2.816 4.368 7.072 13.168 9.92 4.384 4.24 49.792 9.904 67.36 25.488 14.672 11.36 23.456 21.264 26.4 51.008zM626.816 513.184c7.328 0 13.184 5.664 13.184 12.752a12.928 12.928 0 0 1-13.184 12.752H516.96a12.928 12.928 0 0 1-13.184-12.768c0-7.072 5.856-12.736 13.184-12.736h109.856zM571.152 575.52c7.328 0 13.2 5.68 13.2 12.768a12.928 12.928 0 0 1-13.2 12.752H516.96a12.928 12.928 0 0 1-13.184-12.768c0-5.664 5.856-12.736 13.184-12.736h54.192z" fill="#FFFFFF" p-id="36235"></path><path d="M604.848 637.888c7.328 0 13.184 5.664 13.184 12.752a12.928 12.928 0 0 1-13.184 12.752H516.96a12.928 12.928 0 0 1-13.184-12.768c0-7.072 5.856-12.736 13.184-12.736h87.888z" fill="#FFFFFF" p-id="36236">
								</path>
							</svg>`

};

module.exports = {
	seletOrgIconFont,
	seletOrgIconPath
};
